import Vue from 'vue'
import App from './App'
import store from './store'
import {getOpenid} from '@/utils/localStorage.js';
import {request} from '@/utils/request';
import {baseUrl} from '@/utils/index.js';
// const baseUrl = 'https://www.casita.net.cn/';
import moment from "moment";

/**
 * Assign the request to global VUE.
 * @param {Request} $request - The request object.
 */
Vue.prototype.$moment = moment;
Vue.prototype.$request = request;
Vue.prototype.$baseUrl = baseUrl;
Vue.prototype.$store = store;
Vue.prototype.$mapkey = 'IZ3BZ-VQ3K2-XAMU4-CQ4PB-HQG6V-VIB5G';
Vue.config.productionTip = false;
//去掉console数值
// console.log = function(){}
App.mpType = 'app'

const app = new Vue({
    ...App,
	store,
})
app.$mount()
